package com.nj.liandi.gulimall.order.vo;

import java.math.BigDecimal;

/**
 * description: 封装订单提交的数据 <br>
 * date: 2021/10/29 14:59 <br>
 * author: maizj <br>
 * version: 1.0 <br>
 */
public class OrderSubmitVo {
    private Long addrId; //收获地址的id
    private Integer payType;//支付方式
    private String orderToken;//防重令牌
    private BigDecimal payPrice;//应付价格 比对价格
    private String note;//订单备注

    public Long getAddrId() {
        return addrId;
    }

    public void setAddrId(Long addrId) {
        this.addrId = addrId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getOrderToken() {
        return orderToken;
    }

    public void setOrderToken(String orderToken) {
        this.orderToken = orderToken;
    }

    public BigDecimal getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "OrderSubmitVo{" +
                "addrId=" + addrId +
                ", payType=" + payType +
                ", orderToken='" + orderToken + '\'' +
                ", payPrice=" + payPrice +
                ", note='" + note + '\'' +
                '}';
    }
}
